package com.choosefine.springboot.devops.participate.dto;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * Created by dzq on 2017/1/7 0007.
 */
public class InsertParticipateDTO {

    /**
     * 活动id
     */
    @NotNull
    private Integer  activityId;

    private Date createTime=new Date();//默认当前时间
    /**
     * 状态：1有效，2失效
     */
    private Byte status=1;//默认为1


    private String wxCode;

    public Integer getActivityId() {
        return activityId;
    }

    public void setActivityId(Integer activityId) {
        this.activityId = activityId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public Byte getStatus() {
        return status;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public String getWxCode() {
        return wxCode;
    }

    public void setWxCode(String wxCode) {
        this.wxCode = wxCode;
    }

}
